package com.ll.mybatis.dao;

import com.ll.mybatis.bean.Employee;
import org.apache.ibatis.type.Alias;

import java.util.List;

/**
 * 2020/9/19 - 23:52
 */
public interface EmployeeMapperPlus {

    public Employee getEmpById(Integer id);

    public Employee getEmpAndDept(Integer id);

    //分步查询
    public Employee getEmpByIdSetp(Integer id);

    //按照部门id查询所有员工
    public List<Employee> getEmpsByDeptId(Integer deptId);

}
